package com.atguigu.gmall.pms.entity.vo;

import com.atguigu.gmall.pms.entity.SkuAttrValueEntity;
import com.atguigu.gmall.pms.entity.SkuEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class SkuVO extends SkuEntity {
    @ApiModelProperty("成长积分")
    private BigDecimal growBounds;
    @ApiModelProperty("购物积分")
    private BigDecimal buyBounds;
    @ApiModelProperty("积分生效情况：无优惠，成长积分是否生效，无优惠，购物积分是否生效，" +
            "有优惠，成长积分是否生效，有优惠，购物积分是否生效")
    private List<Integer> work;
    @ApiModelProperty("满减数量")
    private Integer fullCount;
    @ApiModelProperty("折扣")
    private BigDecimal discount;
    @ApiModelProperty("满减是否和其他优惠叠加")
    private Integer fullAddOther;
    @ApiModelProperty("sku图片列表")
    private List<String> images;
    @ApiModelProperty("折扣是否和其他优惠叠加")
    private Integer ladderAddOther;
    @ApiModelProperty("销售属性和值")
    private List<SkuAttrValueEntity>  saleAttrs;

    @ApiModelProperty("满减额度")
    private BigDecimal fullPrice;
    @ApiModelProperty("满减金额")
    private BigDecimal reducePrice;
}
